<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>i2stx: xi2stx_intr_example.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">i2stx
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xi2stx__intr__example_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xi2stx_intr_example.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains a example for using the I2s Transmitter hardware device and I2s Transmitter driver using interrupt mode.This example assumes that the interrupt controller is also present as a part of the system. </p>
<pre> MODIFICATION HISTORY:</pre><pre>Ver      Who  Date      Changes
</p>
<hr/>
<p>
1.0   kar  01/25/18     First release
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3b48b73e19976c8d41c321471431f674"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xi2stx__intr__example_8c.html#a3b48b73e19976c8d41c321471431f674">I2sSelfTestExample</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:a3b48b73e19976c8d41c321471431f674"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function does a minimal test on the I2s Transmitter device and driver as a design example.  <a href="#a3b48b73e19976c8d41c321471431f674">More...</a><br/></td></tr>
<tr class="separator:a3b48b73e19976c8d41c321471431f674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d16f81e40091da2c2bf4b76f0a5adab"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xi2stx__intr__example_8c.html#a1d16f81e40091da2c2bf4b76f0a5adab">I2sTxIntrExample</a> (INTC *IntcInstancePtr, <a class="el" href="struct_x_i2s___tx.html">XI2s_Tx</a> *I2sTxInstancePtr, u16 DeviceId, u16 IntrId)</td></tr>
<tr class="memdesc:a1d16f81e40091da2c2bf4b76f0a5adab"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function does a minimal test on the I2s Transmitter device and driver as a design example.  <a href="#a1d16f81e40091da2c2bf4b76f0a5adab">More...</a><br/></td></tr>
<tr class="separator:a1d16f81e40091da2c2bf4b76f0a5adab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4d7a64033ed6425cae0588f819eb0bc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xi2stx__intr__example_8c.html#ae4d7a64033ed6425cae0588f819eb0bc">I2sTxDisableIntr</a> (INTC *IntcInstancePtr, u16 IntrId)</td></tr>
<tr class="memdesc:ae4d7a64033ed6425cae0588f819eb0bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the interrupts for the I2s Transmitter.  <a href="#ae4d7a64033ed6425cae0588f819eb0bc">More...</a><br/></td></tr>
<tr class="separator:ae4d7a64033ed6425cae0588f819eb0bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25a3914d55f9516004795006a1ed87d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xi2stx__intr__example_8c.html#a25a3914d55f9516004795006a1ed87d9">I2sTxAesBlockCmplIntrHandler</a> (void *CallBackRef)</td></tr>
<tr class="memdesc:a25a3914d55f9516004795006a1ed87d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the handler which performs processing for the I2s Transmitter.  <a href="#a25a3914d55f9516004795006a1ed87d9">More...</a><br/></td></tr>
<tr class="separator:a25a3914d55f9516004795006a1ed87d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e1cc135b25b14b5a386cc70452cb3c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xi2stx__intr__example_8c.html#a7e1cc135b25b14b5a386cc70452cb3c5">I2sTxAesBlockErrIntrHandler</a> (void *CallBackRef)</td></tr>
<tr class="memdesc:a7e1cc135b25b14b5a386cc70452cb3c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the handler which performs processing for the I2s Transmitter.  <a href="#a7e1cc135b25b14b5a386cc70452cb3c5">More...</a><br/></td></tr>
<tr class="separator:a7e1cc135b25b14b5a386cc70452cb3c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77714087dfca75c043986fd8e8b09a86"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xi2stx__intr__example_8c.html#a77714087dfca75c043986fd8e8b09a86">I2sTxAesGetChStsHandler</a> (void *CallBackRef)</td></tr>
<tr class="memdesc:a77714087dfca75c043986fd8e8b09a86"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the handler which performs processing for the I2s Transmitter.  <a href="#a77714087dfca75c043986fd8e8b09a86">More...</a><br/></td></tr>
<tr class="separator:a77714087dfca75c043986fd8e8b09a86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea99a40eb09e66565b2a1b7f77642e95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xi2stx__intr__example_8c.html#aea99a40eb09e66565b2a1b7f77642e95">I2sTxUnderflowIntrHandler</a> (void *CallBackRef)</td></tr>
<tr class="memdesc:aea99a40eb09e66565b2a1b7f77642e95"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the handler which performs processing for the I2s Transmitter.  <a href="#aea99a40eb09e66565b2a1b7f77642e95">More...</a><br/></td></tr>
<tr class="separator:aea99a40eb09e66565b2a1b7f77642e95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xi2stx__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the main function of the I2S Transmitter example using Interrupts.  <a href="#a840291bc02cba5474a4cb46a9b9566fe">More...</a><br/></td></tr>
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a3b48b73e19976c8d41c321471431f674"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int I2sSelfTestExample </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function does a minimal test on the I2s Transmitter device and driver as a design example. </p>
<p>The purpose of this function is to illustrate how to use the Xi2s transmitter component.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the Device ID of the I2s TX Device and is the XPAR_&lt;I2S_TRANSMITTER_instance&gt;_DEVICE_ID value from xparameters.h</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if successful, otherwise XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_i2stx___config.html#af68feefd4d9c6ccefa84679124e68735">XI2stx_Config::BaseAddress</a>, <a class="el" href="group__i2stx.html#gab33cb9b421dbb85cef8a75a0dbf8a1dd">XI2s_Tx_CfgInitialize()</a>, <a class="el" href="group__i2stx.html#ga0bbbcbd065d1e0348187ba03cb3b67fb">XI2s_Tx_LookupConfig()</a>, and <a class="el" href="group__i2stx.html#ga4efbba75f40c33ec9a37a033c2592bd8">XI2s_Tx_SelfTest()</a>.</p>

<p>Referenced by <a class="el" href="xi2stx__selftest__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a25a3914d55f9516004795006a1ed87d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void I2sTxAesBlockCmplIntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the handler which performs processing for the I2s Transmitter. </p>
<p>It is called from an interrupt context when the I2s Transmitter receives a AES Block Complete Interrupt.</p>
<p>This handler provides an example of how to handle I2s Transmitter interrupts but is application specific.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a pointer to the callback function</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xi2stx__intr__example_8c.html#a1d16f81e40091da2c2bf4b76f0a5adab">I2sTxIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a7e1cc135b25b14b5a386cc70452cb3c5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void I2sTxAesBlockErrIntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the handler which performs processing for the I2s Transmitter. </p>
<p>It is called from an interrupt context when the I2s Transmitter receives a AES Block Error Interrupt.</p>
<p>This handler provides an example of how to handle I2s Transmitter interrupts but is application specific.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a pointer to the callback function</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xi2stx__intr__example_8c.html#a1d16f81e40091da2c2bf4b76f0a5adab">I2sTxIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a77714087dfca75c043986fd8e8b09a86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void I2sTxAesGetChStsHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the handler which performs processing for the I2s Transmitter. </p>
<p>It is called from an interrupt context when the I2s Transmitter receives a AES Channel Status Updated Interrupt.</p>
<p>This handler provides an example of how to handle I2s Transmitter interrupts but is application specific.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a pointer to the callback function</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xi2stx__intr__example_8c.html#a1d16f81e40091da2c2bf4b76f0a5adab">I2sTxIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ae4d7a64033ed6425cae0588f819eb0bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void I2sTxDisableIntr </td>
          <td>(</td>
          <td class="paramtype">INTC *&#160;</td>
          <td class="paramname"><em>IntcInstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>IntrId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function disables the interrupts for the I2s Transmitter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IntcInstancePtr</td><td>is a reference to the Interrupt Controller driver Instance. </td></tr>
    <tr><td class="paramname">IntrId</td><td>is XPAR_&lt;INTC_instance&gt;_&lt;i2s_tx_instance&gt;_VEC_ID value from xparameters.h.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a1d16f81e40091da2c2bf4b76f0a5adab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int I2sTxIntrExample </td>
          <td>(</td>
          <td class="paramtype">INTC *&#160;</td>
          <td class="paramname"><em>IntcInstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_i2s___tx.html">XI2s_Tx</a> *&#160;</td>
          <td class="paramname"><em>I2sTxInstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>IntrId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function does a minimal test on the I2s Transmitter device and driver as a design example. </p>
<p>The purpose of this function is to illustrate how to use the XI2S_Tx component. It initializes a I2s Transmitter and then sets it up such that a periodic interrupt is generated.</p>
<p>This function uses interrupt driven mode of the I2s Transmitter.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IntcInstancePtr</td><td>is a pointer to the Interrupt Controller driver Instance </td></tr>
    <tr><td class="paramname">I2sTxInstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_i2s___tx.html" title="This typedef implements the I2s Transmitter driver instance data. ">XI2s_Tx</a> driver Instance </td></tr>
    <tr><td class="paramname">DeviceId</td><td>is the XPAR_&lt;i2s_tx_instance&gt;_DEVICE_ID value from xparameters.h </td></tr>
    <tr><td class="paramname">IntrId</td><td>is XPAR_&lt;INTC_instance&gt;_&lt;i2s_tx_instance&gt;_INTERRUPT_INTR value from xparameters.h</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if the Test is successful, otherwise XST_FAILURE</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function contains an infinite loop such that if interrupts are not working it may never return. </dd></dl>

<p>References <a class="el" href="struct_x_i2stx___config.html#af68feefd4d9c6ccefa84679124e68735">XI2stx_Config::BaseAddress</a>, <a class="el" href="struct_x_i2s___tx.html#afe2bf6f0435f85ab88ec2912abe01137">XI2s_Tx::Config</a>, <a class="el" href="xi2stx__intr__example_8c.html#a25a3914d55f9516004795006a1ed87d9">I2sTxAesBlockCmplIntrHandler()</a>, <a class="el" href="xi2stx__intr__example_8c.html#a7e1cc135b25b14b5a386cc70452cb3c5">I2sTxAesBlockErrIntrHandler()</a>, <a class="el" href="xi2stx__intr__example_8c.html#a77714087dfca75c043986fd8e8b09a86">I2sTxAesGetChStsHandler()</a>, <a class="el" href="xi2stx__intr__example_8c.html#aea99a40eb09e66565b2a1b7f77642e95">I2sTxUnderflowIntrHandler()</a>, <a class="el" href="group__i2stx.html#gab33cb9b421dbb85cef8a75a0dbf8a1dd">XI2s_Tx_CfgInitialize()</a>, <a class="el" href="xi2stx_8h.html#a986ff4cc8196e017c2a11b5784cfa410a6f972c1a8f40e982c18bd08a568bb566">XI2S_TX_CHMUX_AXIS_01</a>, <a class="el" href="group__i2stx.html#gac4321c85028de0ddb48f966d80325b10">XI2s_Tx_Enable()</a>, <a class="el" href="group__i2stx.html#gaafa069cfbe1276144cc6e24ead6166b4">XI2S_TX_GINTR_EN_MASK</a>, <a class="el" href="group__i2stx.html#gga826ab5acb6a522281f46f358fc908bf3aee14491aed8a040a938a4a67e74bc6bd">XI2S_TX_HANDLER_AES_BLKCMPLT</a>, <a class="el" href="group__i2stx.html#gga826ab5acb6a522281f46f358fc908bf3a8172cb6e2a0d147df0f06a0eada66f8d">XI2S_TX_HANDLER_AES_BLKSYNCERR</a>, <a class="el" href="group__i2stx.html#gga826ab5acb6a522281f46f358fc908bf3ab9374d0904c4cd4ac730b17fff220107">XI2S_TX_HANDLER_AES_CHSTSUPD</a>, <a class="el" href="group__i2stx.html#gga826ab5acb6a522281f46f358fc908bf3a346f30997b8d6d69e215f08a6db8d4ac">XI2S_TX_HANDLER_AUD_UNDRFLW</a>, <a class="el" href="group__i2stx.html#gad3a413e9c7d1c7be7eb5c970b2b1da8b">XI2S_TX_INTR_AES_BLKCMPLT_MASK</a>, <a class="el" href="group__i2stx.html#ga1389efbbe1bf1f0d834324564556f221">XI2S_TX_INTR_AUDUNDRFLW_MASK</a>, <a class="el" href="group__i2stx.html#ga8d2df1eb8affcff7f6b1eacad5016b39">XI2s_Tx_IntrEnable()</a>, <a class="el" href="group__i2stx.html#gad17911935c47159f6b1c144c3df63ce2">XI2s_Tx_IntrHandler()</a>, <a class="el" href="group__i2stx.html#ga0bbbcbd065d1e0348187ba03cb3b67fb">XI2s_Tx_LookupConfig()</a>, <a class="el" href="group__i2stx.html#ga4efbba75f40c33ec9a37a033c2592bd8">XI2s_Tx_SelfTest()</a>, <a class="el" href="group__i2stx.html#ga265a3458a6fd3232bba3df9f9341e3cd">XI2s_Tx_SetChMux()</a>, <a class="el" href="group__i2stx.html#ga8ff9bb309a9e3902fbe95ce3bc48ac51">XI2s_Tx_SetHandler()</a>, and <a class="el" href="group__i2stx.html#gacdd2c6678f1038ca76099cbcaebe1fde">XI2s_Tx_SetSclkOutDiv()</a>.</p>

<p>Referenced by <a class="el" href="xi2stx__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="aea99a40eb09e66565b2a1b7f77642e95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void I2sTxUnderflowIntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the handler which performs processing for the I2s Transmitter. </p>
<p>It is called from an interrupt context when the I2s Transmitter receives a Underflow Interrupt.</p>
<p>This handler provides an example of how to handle I2s Transmitter interrupts but is application specific.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a pointer to the callback function</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xi2stx__intr__example_8c.html#a1d16f81e40091da2c2bf4b76f0a5adab">I2sTxIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a840291bc02cba5474a4cb46a9b9566fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the main function of the I2S Transmitter example using Interrupts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS to indicate success, else XST_FAILURE to indicate a Failure.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xi2stx__intr__example_8c.html#a1d16f81e40091da2c2bf4b76f0a5adab">I2sTxIntrExample()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
